package com.sven.cloudseataorder.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "seata-stock", fallback = StockFeginFallback.class)
public interface StockFegin {

    @PostMapping("/stock/decrement")
    String decrement();
}
